package com.zimmur.service.impl.order;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zimmur.dao.order.IOrderServiceImageDao;
import com.zimmur.model.order.OrderServiceImage;
import com.zimmur.service.order.IOrderServiceImageService;

@Service("orderServiceImageService")
public class OrderServiceImageServiceImpl implements IOrderServiceImageService{
	@Resource
	private IOrderServiceImageDao orderServiceImageDao;

	@Override
	public List<OrderServiceImage> selectListByServiceId(long serviceId) {
		return orderServiceImageDao.selectListByServiceId(serviceId);
	}

	@Override
	public int insertOrderServiceImage(OrderServiceImage orderServiceImage) {
		return orderServiceImageDao.insertOrderServiceImage(orderServiceImage);
	}

}
